home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GKGM 014
/
GKGM014.iso
/
hentai
/
DOCTOR FUCK GAME.swf
/
scripts
/
frame_20
/
DoAction.as
Wrap
Text File
|
2007-01-09
|
10KB
|
339 lines
this.stop();
mySound();
TextDataSet();
_root.onEnterFrame = function()
{
var _loc2_ = _root;
var cf = _loc2_._currentframe - 15;
spiritCheak(0);
switch(cf)
{
case 5:
var _loc3_ = _loc2_.openingMC;
var tgc = _loc3_._currentframe;
var tgt = _loc3_._totalframes;
if(tgc == 55 && !txtEndflg)
{
textDisplay(0,_loc3_.txt0,2);
}
if(tgc == 60 && !txtEndflg)
{
textDisplay(1,_loc3_.txt1,3);
}
if(tgc == 65 && !txtEndflg)
{
textDisplay(2,_loc3_.txt2,2);
}
if(txtEndflg)
{
_loc3_.nextBtnMC.play();
}
else
{
_loc3_.nextBtnMC.gotoAndStop(1);
}
if(tgc == tgt)
{
_loc2_.gotoAndStop(25);
}
break;
case 10:
_loc3_ = _loc2_.ayaMC.upperB;
var tg1 = _loc2_.ayaMC.upperB.blazer;
var tg2 = _loc2_.ayaMC.upperB.ribon;
var tg3 = _loc2_.ayaMC.upperB.shirt;
var tg4 = _loc2_.ayaMC.upperB.bra;
var tg5 = _loc2_.ayaMC.LowerB;
var tg6 = tg5.R_footMC;
var tg7 = tg5.L_footMC;
if(_loc3_._currentframe == 1 && tg1._currentframe == 3)
{
_loc3_.pointMC._visible = true;
_loc3_.B_sw3._visible = true;
_loc3_.pointMC.gotoAndPlay(1);
if(tg1.blazer3MC._currentframe == tg1.blazer3MC._totalframes)
{
_loc3_.nextFrame();
bustLV++;
_loc3_.R_sw._visible = true;
_loc3_.pointMC._visible = false;
_loc3_.B_sw3._visible = false;
}
}
if(_loc3_._currentframe == 2 && tg2._currentframe == tg2._totalframes)
{
_loc3_.nextFrame();
var _loc1_ = 1;
while(_loc1_ <= 4)
{
_loc3_["S_sw" + _loc1_]._visible = true;
_loc1_ = _loc1_ + 1;
}
}
if(_loc3_._currentframe == 3)
{
if(!_loc3_.S_sw1._visible && !_loc3_.S_sw2._visible && !_loc3_.S_sw3._visible && !_loc3_.S_sw4._visible)
{
_loc3_.pointMC._visible = true;
_loc3_.B_sw3._visible = true;
_loc3_.pointMC.gotoAndPlay(1);
}
if(tg3._currentframe == tg3._totalframes)
{
_loc3_.nextFrame();
bustLV++;
_loc3_.pointMC._visible = false;
_loc3_.B_sw3._visible = false;
}
}
if(_loc3_._currentframe == 4)
{
if(tg4.braH_L._currentframe == 6 && tg4.braH_R._currentframe == 6)
{
acFlg = true;
tg4.play();
}
if(tg4._currentframe == tg4._totalframes)
{
_loc3_.nextFrame();
bustLV++;
}
}
if(_loc3_._currentframe == 5 && ssFlg)
{
_loc3_.pointMC._visible = true;
_loc3_.B_sw3._visible = true;
_loc3_.pointMC.gotoAndPlay(1);
}
if(tg6._currentframe == tg6._totalframes && tg7._currentframe == tg7._totalframes)
{
ssFlg = true;
}
var r = Math.floor(Math.random() * 130);
if(r == 0)
{
_loc2_.ayaMC.LowerB.prevFrame();
}
if(!faFlg)
{
switch(bustLV)
{
case 0:
_loc2_.ayaMC.head.gotoAndStop(1);
break;
case 1:
_loc2_.ayaMC.head.gotoAndStop(2);
break;
case 2:
_loc2_.ayaMC.head.gotoAndStop(3);
break;
case 3:
_loc2_.ayaMC.head.gotoAndStop(4);
break;
case 4:
_loc2_.ayaMC.head.gotoAndStop(5);
}
}
break;
case 15:
_loc3_ = _loc2_.ayaMC.footMC;
var tg1 = _loc2_.dataMC;
var tg2 = _loc3_._currentframe;
var tg4 = _loc2_.ayaMC;
var tg5 = _loc2_.ayaMC.bodyMC;
var tg6 = tg5.RarmMC;
var tg7 = tg5.LarmMC;
var tg10 = tg5.headMC;
if(takusiFlg)
{
_loc3_.pointMC._visible = true;
}
if(skFlg || panSflg)
{
_loc3_.pointMC._visible = false;
}
else if(!skFlg || !panSflg)
{
_loc3_.pointMC._visible = true;
}
if(tg6._currentframe >= 4 && tg7._currentframe >= 4)
{
tg5.body.setPaiMC._visible = false;
tg7.hoseiMC._visible = false;
tg5.RpaiMC._visible = true;
tg5.LpaiMC._visible = true;
if(tchFlg)
{
if(LR == 1)
{
tg5.LpaiMC.gotoAndStop(Mcheck());
}
else if(LR == 0)
{
tg5.RpaiMC.gotoAndStop(Mcheck());
}
tg10.gotoAndStop(11);
if(tg10.reAC1._currentframe == 1)
{
tg4.nextFrame();
}
}
}
else
{
tg5.body.setPaiMC._visible = true;
tg7.hoseiMC._visible = true;
tg5.RpaiMC._visible = false;
tg5.LpaiMC._visible = false;
}
if(wakiFlg)
{
tg4.nextFrame();
var r = Math.floor(Math.random() * 3);
if(r == 0)
{
tg6.prevFrame();
tg7.prevFrame();
}
tg10.gotoAndStop(13);
wakiFlg = false;
}
if(kutiFlg)
{
tg5.nextFrame();
tg10.gotoAndStop(14);
kutiFlg = false;
}
if(manFlg)
{
tg4.nextFrame();
tg5.nextFrame();
var r = Math.floor(Math.random() * 10);
if(r == 0)
{
_loc3_.prevFrame();
}
tg10.gotoAndStop(12);
manCo++;
if(manCo > aanCf)
{
manFlg = false;
manCo = 0;
}
if(simiCo < 30)
{
simiCo += 0.1;
}
_loc3_.pantuMC.simiMC._alpha = simiCo;
}
if(tg1._currentframe >= 50)
{
if(tg6._currentframe == tg6._totalframes && tg7._currentframe == tg7._totalframes && _loc3_._currentframe == _loc3_._totalframes && panFlg)
{
_loc2_.acFlg = true;
_loc2_.spiritCheak(4,1);
_loc2_.gotoAndStop(35);
}
}
switch(tg10._currentframe)
{
case 11:
if(tg10.reAC1._currentframe == tg10.reAC1._totalframes)
{
tg10.gotoAndStop(faceSt);
}
break;
case 12:
if(tg10.reAC2._currentframe == tg10.reAC2._totalframes)
{
tg10.gotoAndStop(faceSt);
}
break;
case 13:
if(tg10.reAC3._currentframe == tg10.reAC3._totalframes)
{
tg10.gotoAndStop(faceSt);
}
break;
case 14:
if(tg10.reAC4._currentframe == tg10.reAC4._totalframes)
{
tg10.gotoAndStop(faceSt);
}
}
break;
case 20:
_loc3_ = _loc2_.ayaMC.footMC;
var tg1 = _loc2_.dataMC;
var tg2 = _loc3_._currentframe;
var tg4 = _loc2_.ayaMC;
var tg5 = _loc2_.ayaMC.bodyMC;
var tg7 = _loc3_.manHandMC;
var tg10 = tg5.headMC;
if(_loc3_.manHandMC.hitTest(_xmouse,_ymouse,true))
{
if(yubiCheck())
{
tg7.nextFrame();
tg4.nextFrame();
if(tg5._currentframe == 1)
{
tg5.play();
}
spiritCheak(2);
tg10.gotoAndStop(12);
var r = Math.floor(Math.random() * 10);
if(r == 0)
{
_loc3_.nextFrame();
}
}
}
if(tchFlg)
{
tg4.nextFrame();
}
if(wakiFlg)
{
tg4.nextFrame();
}
if(tg1._currentframe == tg1._totalframes)
{
_loc2_.acFlg = true;
_loc2_.gotoAndStop(40);
}
if(tg10.reAC2._currentframe == tg10.reAC2._totalframes)
{
tg10.gotoAndStop(3);
}
break;
case 25:
_loc3_ = _loc2_.ayaMC;
var tgc = _loc3_._currentframe;
var tgm1 = _loc3_.bodyMC.upperBMC.headMC.meganeMC;
var tgm2 = _loc3_.bodyMC.headMC.meganeMC;
if(!megaFlg)
{
tgm1._visible = false;
tgm2._visible = false;
}
else
{
tgm1._visible = true;
tgm2._visible = true;
}
if(tgc == 175 && !txtEndflg)
{
textDisplay(3,_loc3_.txt0,3);
}
if(txtEndflg)
{
_loc3_.nextBtnMC.play();
}
else
{
_loc3_.nextBtnMC.gotoAndStop(1);
}
}
};